﻿using System.Runtime.Serialization;
using TfsCloudDeploy.Deployment.Service.DataContracts.Interfaces;

namespace TfsCloudDeploy.Deployment.Service.DataContracts
{
    [KnownType(typeof(IDeploymentRequestV1))]
    [DataContract(Name = "DeploymentRequest", Namespace = "http://tfsclouddeploy.codeplex.com/2012/08/DeploymentRequest")]
    public class DeploymentRequestV1 : IDeploymentRequestV1, IExtensibleDataObject
    {
        [DataMember(Name = "BuildPath", IsRequired = true, Order = 0)]
        public string BuildPath { get; set; }

        public ExtensionDataObject ExtensionData { get; set; }
    }
}
